package com.pet.web.controller.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 产品对象 pet_product
 *
 * @author pet
 * @date 2022-10-09
 */
@ApiModel
public class ProductUpdateBody {
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "商品ID", required = true)
    private Long id;

    /**
     * 规格
     */
    @ApiModelProperty(value = "规格")
    private String spec;

    /**
     * 批发价
     */
    @ApiModelProperty(value = "批发价")
    private BigDecimal tradePrice;

    /**
     * 零售价
     */
    @ApiModelProperty(value = "零售价")
    private BigDecimal retailPrice;

    /**
     * 优惠活动
     */
    @ApiModelProperty(value = "优惠活动")
    private String promotion;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getSpec() {
        return spec;
    }

    public void setTradePrice(BigDecimal tradePrice) {
        this.tradePrice = tradePrice;
    }

    public BigDecimal getTradePrice() {
        return tradePrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setPromotion(String promotion) {
        this.promotion = promotion;
    }

    public String getPromotion() {
        return promotion;
    }

}
